package com.yishe.entites.mysql;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * @author chusifeng
 */
@Data
@Table(name = "ys_staff")
public class YsStaff implements Serializable {
    @Transient
    private static final long serialVersionUID = 2552309701176701618L;
    @Id
    @Column(name = "id")
    private Integer id;
    @Column(name = "name")
    private String name;
    @Column(name = "account")
    private String account;
    @Column(name = "tele_phone")
    private String telePhone;
    @Column(name = "address")
    private String address;
    @Column(name = "corpid")
    private String corpid;
    @Column(name = "token")
    private String token;
    @Column(name = "position")
    private String position;
    @Column(name = "email")
    private String email;
    @Column(name = "staff_desc")
    private String staffDesc;
    @Column(name = "qrcode_path")
    private String qrcodePath;

    private String flag03;

    private String flag04;

    private Integer status;
    @Column(name = "create_id")
    private String createId;
    @Column(name = "create_time")
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    @Column(name = "last_update_id")
    private String lastUpdateId;
    @Column(name = "last_update_time")
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date lastUpdateTime;



}